A Coherence Theorem for Martin-ll Of's Type Theory
نویسنده
چکیده
In type theory a proposition is represented by a type, the type of its proofs. As a consequence the equality relation on a certain type is represented by a binary family of types. Equality on a type may be conventional or inductive. Conventional equality means that one particular equivalence relation is singled out as the equality, while inductive equality, which we also call identity, is inductively deened as the \smallest reeexive relation". It is sometimes convenient to know that the type representing a proposition is collapsed in the sense that all its inhabitants are identical. Although uniqueness of identity proofs for an arbitrary type is not derivable inside type theory, there is a large class of types for which it may be proved. Our main result is a proof that any type with decidable identity has unique identity proofs. This result is convenient for proving that the class of types with decidable identities is closed under indexed sum. Our proof of the main result is completely formalized within a kernel fragment of Martin-LL of's type theory and mechanized using ALF. Proofs of auxiliary lemmas are explained in terms of the category theoretical properties of identity. These suggest two coherence theorems as the result of rephrasing the main result in a context of conventional equality, where the inductive equality has been replaced by, in the rst, an initial category structure and, in the second, a smallest reeexive relation. 1 Introduction 1.1 Type theory. Martin-LL of's type theory 13, 14] may be seen as a framework for expressing constructive mathematical reasoning. The interactive proof assistant ALF 2, 1, 12] can be used to implement a formalization of type theory and to develop formal type theory proofs. The fundamental ingredients of type theory are those of set, element of a set, family of sets and dependently typed 1 function. 1 The type of the result of a function application may depend on the values given as arguments to the function, and in an m-place function f(x 1 ; : : : ; xm) or family of sets A(x 1 ; : : : ; xm), the range of the variable x i may depend on the values assigned to the preceding variables x 1 , .
منابع مشابه
Optimized Encodings of Fragments of Type Theory in First Order Logic
The paper presents sound and complete translations of several fragments of Martin-LL of's monomorphic type theory to rst order predicate calculus. The translations are optimised for the purpose of automated theorem proving in the mentioned fragments. The implementation of the theorem prover Gandalf and several experimental results are described .
متن کاملInternal Type Theory
We introduce categories with families as a new notion of model for a basic framework of dependent types. This notion is close to ordinary syntax and yet has a clean categorical description. We also present categories with families as a generalized algebraic theory. Then we deene categories with families formally in Martin-LL of's intensional intuitionistic type theory. Finally, we discuss the c...
متن کاملInductive Sets and Families in Martin-ll Of's Type Theory and Their Set-theoretic Semantics
Martin-LL of's type theory is presented in several steps. The kernel is a dependently typed-calculus. Then there are schemata for inductive sets and families of sets and for primitive recursive functions and families of functions. Finally, there are set formers (generic polymorphism) and universes. At each step syntax, inference rules, and set-theoretic semantics are given.
متن کاملCoercion completion and conservativity in coercive subtyping
Coercive subtyping ooers a general approach to subtyping and inheritance by introducing a simple abbreviational mechanism to constructive type theories. In this paper, we study coercion completion in coercive subtyping and prove that the formal extension with coercive subtyping of a type theory such as Martin-LL of's type theory and UTT is a conservative extension. The importance of coherence c...
متن کاملTranslating Dependent Type Theory into Higher Order Logic
This paper describes a translation of the complex calculus of dependent type theory into the relatively simpler higher order logic originally introduced by Church. In particular, it shows how type dependency as found in Martin-LL of's Intuitionistic Type Theory can be simulated in the formulation of higher order logic mechanized by the HOL theorem-proving system. The outcome is a theorem prover...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998